﻿using System.Web.Optimization;

namespace sydfdl.TMS
{
    /// <summary>
    /// CSS/JS加载类
    /// </summary>
    public class BundleConfig
    {
        /// <summary>
        /// CSS/JS注册方法
        /// </summary>
        /// <param name="bundles">参数</param>
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/js/home/login").Include(
              "~/Scripts/Home/Login/jquery.md5.js",
              "~/Scripts/Home/Login/loginTop.js"));

            bundles.Add(new StyleBundle("~/css/home/login").Include(
                "~/CSS/Home/Login/loginTop.css"));

            bundles.Add(new StyleBundle("~/css/miniui/themes/default").Include(
                "~/Scripts/miniui/themes/default/miniui.css"));

            bundles.Add(new StyleBundle("~/css/miniui/themes/skinblue").Include(
                "~/Scripts/miniui/themes/blue/skin.css"));

            bundles.Add(new StyleBundle("~/css/miniui/themes/skinblue2003").Include(
                "~/Scripts/miniui/themes/blue2003/skin.css"));

            bundles.Add(new StyleBundle("~/css/miniui/themes/skinblue2010").Include(
                 "~/Scripts/miniui/themes/blue2010/skin.css"));

            bundles.Add(new StyleBundle("~/css/miniui/icon").Include(
                "~/Scripts/miniui/themes/icons.css"));
        }
    }
}